home *** CD-ROM | disk | FTP | other *** search
- Path: dfw.dfw.net!not-for-mail
- From: ftlgeuse@dfw.dfw.net (Azazel Diabolus (aka Fetelgeuse))
- Newsgroups: comp.lang.c
- Subject: Re: Settle a bet please
- Date: 4 Apr 1996 01:07:28 GMT
- Organization: DFW Internet Services - DFWNet: 800-2-DFWNet
- Message-ID: <4jv7cg$mr9@fnord.dfw.net>
- References: <4jfopb$o9n@news1.sympatico.ca> <4jh8rtINNosd@mayne.ugrad.cs.ubc.ca> <3160ad03.4340531@netline-fddi.jpl.nasa.gov> <4jqm9m$b0j@fnord.dfw.net> <4jttr0$3qh@solutions.solon.com>
- NNTP-Posting-Host: dfw.dfw.net
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Peter Seebach (seebs@solutions.solon.com) wrote:
- : In article <4jqm9m$b0j@fnord.dfw.net>,
- : Azazel Diabolus (aka Fetelgeuse) <ftlgeuse@dfw.dfw.net> wrote:
- : >Perhaps we need to start a comp.lang.c.borland so that you ANSI C purists
- : >won't be bothered by those of us who are used to having a NULL defined in
- : >our stdio.h. Or maybe a comp.lang.c.K&R.worshippers? :)
- :
- : But NULL *is* #defined in <stdio.h>. (Don't feel bad, I got this wrong
-
- ??? Didn't I say that? "those of us who are used to having stdio.h
- defined in stdio.h" Yeah, I said that. My beef was how everyone had to
- say "Not nul...null!" or "Not NULL, NUL" etc.
- : some time last year, until Dan set me straight.) It's just that NULL may
- : or may not be something you can assign into a character, so it's not a
- : suitable string terminator.
- I guess NUL (I'm talking ASCII, guys, so don't yell at me!) is often
- confused (at least when speaking) with NULL. It's easy to do from things
- like
- if(soandso != 0)
- and
- if(fptr=(fopen("filename.ext","r")!=NULL)
- we (at least me..) might be thinking similar things when we write things
- like that.
-
-